import Vue from 'vue'
import Router from 'vue-router'

import message from '@/pages/message/index.vue';
import friends from '@/pages/friends/index.vue';
import discover from '@/pages/discover/index.vue';

Vue.use(Router)
export default new Router({
  routes: [
    { path: '/message', name: 'message', component: message},
    { path: '/friends', name: 'friends', component: friends},
    { path: '/discover', name: 'discover', component: discover}
  ]
})
